package com.alks.function.data.dto.finance.fincons;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 结算应付明细
 */
@Getter
@Setter
@NoArgsConstructor
public class SettlementDetailsDto {

    @ApiModelProperty(value = "应付类型")
    private String feeType;

    @ApiModelProperty(value = "单据号码")
    private String slipNo;

    @ApiModelProperty(value = "单据日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date slipDate;

    @ApiModelProperty(value = "结算方式")
    private String accountName;

    @ApiModelProperty(value = "结算月份")
    private String financeYymm;

    @ApiModelProperty(value = "结算单号")
    private String balanceNo;

    @ApiModelProperty(value = "结算日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date balanceDate;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "品牌")
    private String custom;

    @ApiModelProperty(value = "指令号")
    private String lotNo;

    @ApiModelProperty(value = "费用类型")
    private String typeName;

//    @ApiModelProperty(value = "物料单号")
//    private String mtlNo;

    @ApiModelProperty(value = "物料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "物料名称")
    private String mtlName;

    @ApiModelProperty(value = "物料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "物料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "数量")
    private BigDecimal qty;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "送货单号")
    private String sendNo;

    @ApiModelProperty(value = "部门")
    private String deptNo;

//    @ApiModelProperty(value = "部门名称")
//    private String deptName;

    @ApiModelProperty(value = "仓库备注")
    private String remark;

    @ApiModelProperty(value = "财务备注")
    private String financeRecMemo;

    private String cfmFlag;

    private BigDecimal item;

    private String companyId;

}
